package com.fz.entity;

import com.fz.core.BaseEntity;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 * 存储水电使用账单信息
 * </p>
 *
 * @author hyr
 * @since 2025-06-22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Fee extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 水费金额
     */
    private BigDecimal amount;

    /**
     * 账单状态：0待支付；1已支付
     */
    private Integer status;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 支付时间
     */
    private LocalDateTime paidTime;

    /**
     * 账单类型：1水费；2电费；3燃气费
     */
    private Integer type;

    /**
     * 消耗量
     */
    private BigDecimal consumed;


}
